package com.yaoxun.quartz.domain.entity;

import java.util.Date;

import lombok.Data;

/**
 * 定时任务日志实体
 * @author Loren
 *
 */
@Data
public class ScheduleJobLog {

	public static final int RUN_STATE_SUCCESS = 0;
	
	public static final int RUN_STATE_FAIL = 1;
	
	/**
	 * 日志ID
	 */
	private Long logId;
	
	/**
	 * 关联schedule_job主键
	 */
	private Long jobId;

	/**
	 * bean的名称
	 */
	private String beanName;
	
	private String params;
	
	private Integer runStatus; 
	
	/**
	 * length = 2000
	 */
	private String errorInfo;
	
	private long times;
	
	private Date createTime;
}
